log:=../../thirdparty/log.c  ../../thirdparty/log.h
common:=../../app/app_common.c ../../app/app_common.h
pthread_01:01_pthread.c $(log)
	gcc -o $@    $^  -I../../thirdparty
	./$@
	rm -f $@

sum_02:02_sum.c $(log)  $(common)
	gcc -o $@    $^  -I../../thirdparty -I../../app
	./$@
	rm -f $@

mutex_03:03_mutex.c  
	gcc -o $@    $^   
	./$@
	rm -f $@


mqueue_04:04_mqueue.c     
	gcc -o $@    $^   
	./$@
	rm -f $@